<?php
/**
 * Created by  yuxianjun001@icloud.com.
 * User: wuchen
 * Date: 2018/1/15
 * Time: 15:21
 */

namespace App\admin\controller;
use App\admin\controller\Name;

class NameTest
{
    public function index(){
        $array = array('PHP', 'JAVA','c++','c');
        array_push($array, 'PYTHON'); //入队列
        $a=array_shift($array); //出队列
        var_dump($a).'-';
        var_dump($array);die;
        $name=new Name();
        echo $name->getName();
    }

}